package com.edu.mapper;

import com.edu.entity.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer empId);

    int insert(Employee row);

    int insertSelective(Employee row);

    Employee selectByPrimaryKey(Integer empId);

    int updateByPrimaryKeySelective(Employee row);

    int updateByPrimaryKey(Employee row);

    List<Employee> sqlFindAllEmpByLimit(@Param("pageNum") int pageNum,@Param("pageSize") int pageSize);

    List<Employee> sqlFindAllEmpAndTopEmp();

}